<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head><title>My JSP 'userlist.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  	<form action="reg.do" method="post">
    	username:<input name="username"/><br />
    	password:<input name="password"/><br />
    	<input type="submit" value="提交"/>
    </form>
    <table>
    <tr>
    	<td>id</td>
    	<td>username</td>
    	<td>password</td>
    	<td>edit</td>
    	<td>delete</td>
    </tr>
    <!--: for(user in userlist){ -->
    <tr>
    	<td>${user.id}</td>
    	<td>${user.username}</td>
    	<td>${user.password}</td>
    	<td><a href="user.do?action=edit&id=${user.id}">edit</a></td>
    	<td><a href="user.do?action=delete&id=${user.id}">delete</a></td>
    </tr>
    <!--: } -->
    </table>
  </body>
</html>
